package com.huidu.bitrade.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huidu.bitrade.constant.DepositStatusEnum;
import com.huidu.bitrade.entity.Member;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepositRecordVO {

    private String id;
    private Member member;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("交易金额")
    private BigDecimal amount;
    private DepositStatusEnum status;
}
